<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/Template/MasterPage.master"
    CodeFile="RoleTester.aspx.cs" Inherits="RoleTester" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <h1>Role Tester</h1>
    <asp:Panel ID="Panel1" runat="server" width="675px">
        <table width="100%" cellpadding="0" cellspacing="0">
            <tr>
                <td>
                    <asp:Panel ID="Panel2" runat="server" SkinID="panelTitle">
                        <table width="100%">
                            <tr>
                                <td>Play with Roles and Role Assignment to Existing Users</td>
                            </tr>
                        </table>
                    </asp:Panel>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:TextBox ID="txtAddRoleRole" runat="server"></asp:TextBox>
                    <asp:Button ID="btnAddRole" runat="server" OnClick="btnAddRole_Click" Text="Add Role" />
                    <asp:Button ID="btnDelRole" runat="server" OnClick="btnDelRole_Click" Text="Delete Role" />
                </td>
            </tr>
            <tr>
                <td>
                    <asp:TextBox ID="txtAddUserToRoleUser" runat="server"></asp:TextBox>
                    <asp:DropDownList ID="ddAddUserToRoleRoles" runat="server" Width="156px">
                    </asp:DropDownList>
                    <asp:Button ID="btnAddUserToRole" runat="server" OnClick="btnAddUserToRole_Click"
                        Text="Add User To Role" />
                    <asp:Button ID="btnDelUserFromRole" runat="server" OnClick="btnDelUserFromRole_Click"
                        Text="Delete User From Role" />
                </td>
            </tr>
            <tr>
                <td>
                    <asp:TextBox ID="txtIsUserInRoleUser" runat="server"></asp:TextBox>
                    <asp:DropDownList ID="ddIsUserInRole" runat="server" Width="155px">
                    </asp:DropDownList>
                    <asp:Button ID="btnIsUserInRole" runat="server" OnClick="btnIsUserInRole_Click" Text="Check Is User In Role" />
                    <asp:Label ID="lblIsUserInRoleAnswer" runat="server" Width="78px"></asp:Label>
                </td>
            </tr>
        </table>
    </asp:Panel>
</asp:Content>
